package com.atguigu.day22.exer;

import org.junit.Test;

import java.io.FileInputStream;
import java.io.IOException;

public class TestFlieInputStream {
    @Test
    public void teat01() throws IOException {
        FileInputStream fis=new FileInputStream("d:/iotest.txt");
        System.out.println(fis.read());
        System.out.println(fis.read());
        System.out.println(fis.read());
        System.out.println(fis.read());
        System.out.println(fis.read());
        System.out.println(fis.read());
        System.out.println(fis.read());
        System.out.println(fis.read());
        fis.close();
    }
}
